Queries a managed object for a particular COM interface support (This method is a shortcut to
QueryInterface(Guid,IntPtr))
'宣言
Public Overloads Shared Function As(Of As ComObject)( _
ByVal As System.Object _
) As
public static As<>(
System.object
)
where T: ComObject
パラメータ
- comObject
- The managed COM object.
型パラメータ
- T
- The type of the COM interface to query
戻り値の型
An instance of the queried interface